package com.ogawa.project6602.service

import com.ogawa.base.base.BaseResponseBean
import com.ogawa.base.bean.MqttAccountBean
import com.ogawa.project6602.bean.HealthServiceReportStatisticResponse
import com.ogawa.project6602.bean.MusicResponse
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface HealthApiService {
//    /**
//     * 获取MQTT账号密码
//     */
//    @GET("/api/app/v1/music")
//    suspend fun getMqttAccount(@Path("sn") sn: String?): BaseResponseBean<MqttAccountBean>


    /***
     *  健康数据 - 统计
     *  userId	否   用户id 默认当前登录用户
     *  platform	是   平台编码
     *  timeFrame	是   0----(七)日  1----(七)周  2----(七)月
     *  typeCode	否   设备型号
     */
    @GET("/api/healthService/v1/report/statistic")
    suspend fun getHealthServiceReportStatistic(
        @Query("userId") userId: String,
        @Query("platform") platform: String,
        @Query("timeFrame") timeFrame: String,
        @Query("typeCode") typeCode: String
    ): BaseResponseBean<List<HealthServiceReportStatisticResponse>>

}